export default [
    {
        name:'admin',
        path:'/admin',
        component: () => import('@/pages/admin/admin.vue'),
        children:[
            {
                name:'sys',
                path:'sys',
                component:()=>import('@/pages/admin/system/sys.vue'),
                children:[
                    {
                        name:'a-home',
                        path:'home',
                        component: () => import('@/pages/admin/system/home.vue')
                    },
                    {
                        name:'a-rank',
                        path:'rank',
                        component: () => import('@/pages/admin/system/rank.vue')
                    }
                ]
            },{

                name:'book',
                path:'book',
                component:()=>import('@/pages/admin/book/book.vue'),
                children:[
                    {
                        name:'a-list',
                        path:'list',
                        component: () => import('@/pages/admin/book/list.vue')
                    },
                    {
                        name:'a-caiji',
                        path:'caiji',
                        component: () => import('@/pages/admin/book/caiji.vue')
                    }
                ]
            }
        ]
    }
]